package API.DAY1;

public class StringBuildDemo2 {//StringBuilder在多线程环境下，效率更高
    public static void main(String[] args) {
        StringBuilder x=new StringBuilder("a");
        for(int i=0;i<1000000;i++){
            x.append("a");
        }
        System.out.println("完成");
    }
}
